<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
			<!-- saved from url=(0014)about:internet -->
			<html>
	<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=9"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Open Source Media Framework&nbsp;Reference"><meta name="lang" content="en-us"><link rel="stylesheet" href="style.css" type="text/css" media="screen"><link rel="stylesheet" href="print.css" type="text/css" media="print"><link rel="stylesheet" href="override.css" type="text/css"><link rel="stylesheet" href="ion.css" type="text/css"><title> Motion XML Elements  - ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference (ActionScript 3.0)</title>
	<link rel="stylesheet" href="./standalone-style.css" type="text/css">
		<script type="text/javascript">
			
				var baseRef = "./";
				var buildType = 'standalone';
				var alreadyrunflag=0; //flag to indicate whether target function has already been run
if (document.addEventListener)
  document.addEventListener("DOMContentLoaded", function(){alreadyrunflag=1; init()}, false)
else if (document.all && !window.opera){
 /* blocks IE from working, as it's fired before dom if ready
  document.write('<script type="text/javascript" id="contentloadtag" defer="defer" src="javascript:void(0)"><\/script>')
  var contentloadtag=document.getElementById("contentloadtag")
  contentloadtag.onreadystatechange=function(){
    if (this.readyState=="complete"){
      alreadyrunflag=1;
      init();
    }
  }*/
} else if(/Safari/i.test(navigator.userAgent)){ //Test for Safari
  var _timer=setInterval(function(){
  if(/loaded|complete/.test(document.readyState)){
    clearInterval(_timer)
    init() // call target function
  }}, 10)
}		
function onLoadFunction() {
	setTimeout("if (!alreadyrunflag) init()", 0);
}
function submitValueStandaloneSearch(){
var searchStr=document.getElementById('search-livedocs').value;
window.location=baseRef+"search.html"+"###"+searchStr;
}


		</script>
		<script language="javascript" type="text/javascript" src="./cookies.js"></script>
		<script language="javascript" type="text/javascript" src="./asdoc.js"></script>
		<!--oss:off-->
	</head>
	<body onLoad="onLoadFunction()">
		<a name="top"></a>
		
		<table class="titleTable" cellpadding="0" cellspacing="0">
		  <tr>
			<td>
			  <table class="titleTable" cellpadding="0" cellspacing="0">
				<tr>
				  <td class="titleTableTitle" align="left" nowrap="true">ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Open Source Media Framework&nbsp;Reference<br>
				  <span class="titleTableTopNav">
				  <a id="showtoc" onClick="showHideTOC(true)" href="#top" style="display:">Show Packages and Classes List</a><a id="hidetoc" onClick="showHideTOC(false)" href="#top" style="display:none">Hide Packages and Classes List</a>&nbsp;|&nbsp;
				  <a href="./package-summary.html"> Packages </a>&nbsp;|&nbsp;
			      <a href="./class-summary.html"> Classes </a>&nbsp;|&nbsp;
				  <a href="./all-index-Symbols.html"> Index </a>&nbsp;|&nbsp;
				  <a href="./appendixes.html"> Appendixes </a><br>
				  </span>	
				  </td>
				  <td class="titleTableSearch" align="right" nowrap="true">
				  <span id="gsa" class="gsa">
				<form class="searchForm" method="get" action="./search.html" onSubmit="submitValueStandaloneSearch()">
				  <input class="hidden" name="loc" value="" type="hidden">
				  <input class="hidden" name="termPrefix" value="" type="hidden">
				  <input class="hidden" name="term" value="" type="hidden">
				  <input class="hidden" name="area" value="" type="hidden">
				  <input class="searchinput" id="search-livedocs" name="search_text" value="" title="" type="text">
				  <input type="button" name="action" value="" onClick="submitValueStandaloneSearch()" class="searchbutton">
				  </form>
				  </span>				  
				  </td>
				</tr>
			  </table>			
			  </td>
			<td class="titleTableLogo" align="right" rowspan="3"><img src="./images/logoION.jpg" class="logoImageION" alt=" Adobe Logo " title=" Adobe Logo "></td>
		  </tr>
		  <tr>
			<td colspan="2">
			  <table class="titleTable" cellpadding="0" cellspacing="0">
				<tr class="titleTableRow2">
				<td class="titleTableSubTitle" id="subTitle" align="left" colspan="2">
					<a href="package-detail.html" id="packageName" style="font-size:11px;">&nbsp;</a><br>
					<convert> Motion XML Elements &nbsp;</convert>
				</td>
				<td class="titleTableSubNav" id="subNav" align="right">
				  <a id="propertiesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('propertySummary');" style="display:none"> Properties </a>
				  <span id="propertiesBar" style="display:none"> | </span>
				  <a id="packagePropertiesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('propertySummary');" style="display:none"> Properties </a>
				  <span id="packagePropertiesBar" style="display:none"> | </span>
				  <a id="constructorLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('constructorSummary');" style="display:none"> Constructor </a>
				  <span id="constructorBar" style="display:none"> | </span>
				  <a id="methodsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('methodSummary');" style="display:none"> Methods </a>
				  <span id="methodsBar" style="display:none"> | </span>
				  <a id="packageFunctionsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('methodSummary');" style="display:none"> Functions </a>
				  <span id="packageFunctionsBar" style="display:none"> | </span>
				  <a id="eventsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('eventSummary');" style="display:none"> Events </a>
				  <span id="eventsBar" style="display:none"> | </span>
				  <a id="stylesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('styleSummary');" style="display:none"> Styles </a>
				  <span id="stylesBar" style="display:none"> | </span>
				  <a id="SkinPartLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('SkinPartSummary');" style="display:none"> Skin Parts </a>
				  <span id="SkinPartBar" style="display:none"> | </span>
				  <a id="SkinStateLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('SkinStateSummary');" style="display:none"> Skin States </a>
				  <span id="SkinStateBar" style="display:none"> | </span>
				  <a id="effectsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('effectSummary');" style="display:none"> Effects </a>
				  <span id="effectsBar" style="display:none"> | </span>
				  <a id="constantsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('constantSummary');" style="display:none"> Constants </a>
				  <span id="constantsBar" style="display:none"> | </span>
				  <a id="packageConstantsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('constantSummary');" style="display:none"> Constants </a>
				  <span id="packageConstantsBar" style="display:none"> | </span>
				  <a id="interfacesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('interfaceSummary');" style="display:none"> Interfaces </a>
				  <span id="interfacesBar" style="display:none"> | </span>
				  <a id="classesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('classSummary');" style="display:none"> Classes </a>
				  <span id="classesBar" style="display:none"> | </span>
				  <a id="packageUseLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('package-use.html');" style="display:none">Use</a>
				  <span id="packageUseBar" style="display:none"> | </span>
				  <a id="examplesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('includeExamplesSummary');" style="display:none"> Examples </a>
				</td>
				</tr>
				<tr class="titleTableRow3">
				  <td colspan="4"></td>
				</tr>
			  </table>
			</td>
		  </tr>
		</table>
        <div class="maincontainer" id="maincontainer" style="display:none">
			<div class="mainleft" id="toc">
				<div id="packagelist" class="packagelist"></div>
				<div class="h_splitter" id="h_splitter" onMouseDown="h_splitterMouseDown(event, this);" onMouseUp="h_splitterMouseUp(event);" onMouseMove="h_splitterMouseMove(event);"></div>
				<div id="classlist" class="classlist">
					<div class="classlistoutline"></div>
				</div>
			</div>
			<div class="splitter" id="splitter" onMouseDown="splitterMouseDown(event, this);" onMouseUp="splitterMouseUp(event);" onMouseMove="splitterMouseMove(event);">
			</div>
			<!--oss:on--><div class="mainright" id="content">
				<div class="content"><p><div id="badgeAnchorSupport" class="ionBadgeWrapper"></div><div id="badgeContainerSupport"></div>You can describe a motion tween using XML and the ActionScript
classes in the fl.motion package. Adobe Flash Professional has a
"Copy Motion as ActionScript" command that generates XML and ActionScript
based on a motion tween on the Timeline for use on other symbols
or in other projects. You can also script your own motion tween.
As long as you have the fl.motion classes in your classpath at compile
time, the motion tween will be applied to your specified display
object. For more information on the motion classes, see the <a href="fl/motion/package-detail.html">fl.motion</a> package.
The elements of the supporting XML correspond to classes and properties
in the ActionScript 3.0 Language Reference.</p><p>The XML element hierarchy is as follows:</p><pre>&lt;Motion&gt; 
 &lt;Source&gt; 
      &lt;dimensions/&gt; 
        &lt;geom:Rectangle /&gt; 
      &lt;/dimensions&gt; 
      &lt;transformationPoint&gt; 
        &lt;geom:Point /&gt; 
      &lt;/transformationPoint&gt; 
  &lt;/Source&gt; 
  &lt;Keyframe&gt; 
    &lt;color&gt;  
      &lt;Color /&gt; 
    &lt;/color&gt;      
    &lt;tweens&gt; 
      &lt;SimpleEase /&gt; 
      &lt;CustomEase&gt; 
      &lt;BezierControl /&gt; 
        &lt;BezierNode /&gt; 
      &lt;/CustomEase&gt; 
    &lt;/tweens&gt; 
    &lt;filters&gt;  
      &lt;filters /&gt; 
    &lt;/filters&gt;    
  &lt;/Keyframe&gt; 
&lt;/Motion&gt;</pre><p>The following table briefly summarizes the XML elements and attributes
that can be assigned to a motion object, for more details about
each entry, see the properties listed in the classes that correspond
to each element:</p><table cellpadding="3" cellspacing="0" class="summaryTable"><tr><th width="">Element</th><th width="">Attribute</th><th width="">Type</th><th width="">Description</th></tr><tbody><tr><td>Motion</td><td>&nbsp;</td><td>&nbsp;</td><td>Defines the Motion instance so Flash can
assign properties that characterize the motion tween. See the <a href="fl/motion/Motion.html">fl.motion.Motion</a> class.</td></tr><tr><td>&nbsp;</td><td>duration</td><td>Number</td><td>Number of frames for the selected motion
tween. See the <a href="fl/motion/MotionBase.html#duration">fl.motion.MotionBase.duration</a> property.</td></tr><tr><td>source</td><td>&nbsp;</td><td>&nbsp;</td><td>Contains the properties of the original
visual object associated with the motion. See the <a href="fl/motion/Source.html">fl.motion.Source</a> class.</td></tr><tr><td>Source</td><td>frameRate</td><td>Number</td><td>The frames per second (fps) setting for
the SWF file containing the original animation copied from Flash
Professional. This value does not have any effect on the ActionScript
implementation in a different SWF file. See the <a href="fl/motion/Source.html#frameRate">fl.motion.Source.frameRate</a> property.</td></tr><tr><td>&nbsp;</td><td>x</td><td>Number</td><td>The x-coordinate of the transformation point
of the symbol instance at the beginning of the original motion tween
copied from Flash Professional.</td></tr><tr><td>&nbsp;</td><td>y</td><td>Number</td><td>The y-coordinate of the transformation point
of the symbol instance at the beginning of the original motion tween
copied from Flash Professional. </td></tr><tr><td>&nbsp;</td><td>scaleX</td><td>Number</td><td>The percentage of horizontal scale as a
decimal value. The value is often between 0 and 1, but can be greater
than 1 or less than 0. For example, you can set scaleX to -1 to
flip the object, or to 3 to make it three times the original size.</td></tr><tr><td>&nbsp;</td><td>skewX</td><td>Number</td><td>The angle (in degrees) of shearing along
the horizontal axis. If the skewX and skewY values are equal, they
are replaced by the rotation attribute.</td></tr><tr><td>&nbsp;</td><td>skewY</td><td>Number</td><td>The angle (in degrees) of shearing along
the vertical axis.If the skewX and skewY values are equal, they
are replaced by the rotation attribute.</td></tr><tr><td>&nbsp;</td><td>rotation</td><td>Number</td><td>The degrees of rotation for the initial
frame.</td></tr><tr><td>&nbsp;</td><td>elementType</td><td>String</td><td>The type of visual object used in the motion
tween. Possible values are: "movie clip", "button", "graphic", "rectangle object",
"oval object", "drawing object", "group", "bitmap", "compiled clip",
"video", or "text".</td></tr><tr><td>&nbsp;</td><td>symbolName</td><td>String</td><td>Name of the symbol in the Adobe Flash Professional
document's library, if it exists (since the original visual object may
not be a symbol instance).</td></tr><tr><td>dimensions</td><td>&nbsp;</td><td>&nbsp;</td><td>Contains the tags using the geom namespace
for describing the bounding box and transformation point for the tweened
symbol.</td></tr><tr><td>geom:Rectangle </td><td>&nbsp;</td><td>An object from the <a href="flash/geom/package-detail.html">flash.geom</a> package.</td><td>You can add attributes that correspond to
the properties of the flash.geom.Rectangle object. For example: &lt;geom:Rectangle
left="7" top="9" width="151.95" height="151.95" /&gt;The
top and left values are relative to the parent object's registration
point (top and left are defined in the parent object's coordinate
space.</td></tr><tr><td>geom:Point</td><td>&nbsp;</td><td>An object from the <a href="flash/geom/package-detail.html">flash.geom</a> package.</td><td>The coordinates of the transformation point
are defined as a percentage of the bounding box's dimensions (geom:Rectangle
element's values). If the transformation point is the upper-left
corner of the bounding box, the coordinates are (0, 0). If the transformation
point is the lower-right corner of the bounding box the coordinates are
(1, 1). These values allow the transformation point to be applied
consistently to objects of different proportions and registration
points. The transformation point can lie outside of the bounding
box, in which case the coordinates may be less than 0 or greater
than 1.</td></tr><tr><td>Keyframe</td><td>&nbsp;</td><td>&nbsp;</td><td>Contains information corresponding to a
keyframe on the Timeline.</td></tr><tr><td>&nbsp;</td><td>blank</td><td>Boolean</td><td>Indicates that the Keyframe is empty.</td></tr><tr><td>&nbsp;</td><td>index</td><td>Number</td><td>A unique integer value for the keyframe.
The first keyframe index is always 0. Keyframes in the XML must
be specified in ascending order of the index value.</td></tr><tr><td>&nbsp;</td><td>label</td><td>String</td><td>An optional string that describes the Keyframe
and corresponds to a frame label on the Timeline.</td></tr><tr><td>&nbsp;</td><td>tweenSync</td><td>Boolean</td><td>Toggles the sync setting on ("true") and
off ("false"). Sync recalculates the number of frames in a tween
to match the number of frames allotted to it on the Timeline. This attribute
has no effect on ActionScript animation, because ActionScript cannot
control graphic symbols. The XML attribute is only used by Adobe
Flash Professional’s Copy Motion and Paste Motion commands. Defaults
to true if omitted from the XML.</td></tr><tr><td>&nbsp;</td><td>tweenSnap</td><td>Boolean</td><td>Toggles the Snap setting on ("true") and
off ("false"). Snap attaches a symbol to the motion path by its
registration point. This attribute has no effect on ActionScript
animation, because ActionScript cannot control graphic symbols.
The XML attribute is only used by Adobe Flash Professional's Copy
Motion and Paste Motion commands. Defaults to true if omitted from
the XML.</td></tr><tr><td>&nbsp;</td><td>x</td><td>Number</td><td>The x-coordinate of the center point of
the symbol instance at the current keyframe.</td></tr><tr><td>&nbsp;</td><td>y</td><td>Number</td><td>The y-coordinate of the center point of
the symbol instance at the current keyframe. </td></tr><tr><td>&nbsp;</td><td>scaleX</td><td>Number</td><td>The percentage of horizontal scale as a
decimal value between 0 and 1. The value is often between 0 and
1, but can be greater than 1 or less than 0. For example, you can set
scaleX to -1 to flip the object, or to 3 to make it 3 times the
original size.</td></tr><tr><td>&nbsp;</td><td>scaleY</td><td>Number</td><td>The percentage of vertical scale as a decimal
value between 0 and 1. The value is often between 0 and 1, but can
be greater than 1 or less than 0. For example, you can set scaleY
to -1 to flip the object, or to 3 to make it 3 times the original
size.</td></tr><tr><td>&nbsp;</td><td>skewX</td><td>Number</td><td>The angle (in degrees) of shearing along
the horizontal axis. If the skewX and skewY values are equal, they
are replaced by the rotation attribute.</td></tr><tr><td>&nbsp;</td><td>skewY</td><td>Number</td><td>The angle (in degrees) of shearing along
the vertical axis.If the skewX and skewY values are equal, they
are replaced by the rotation attribute.</td></tr><tr><td>&nbsp;</td><td>rotation</td><td>Number</td><td>The degrees of rotation for the current
frame.</td></tr><tr><td>&nbsp;</td><td>rotateDirection</td><td>String</td><td>Specifies how the tweened element rotates.
Possible values are "auto", "none", "cw", "ccw". Defaults to "auto"
if omitted from the XML.</td></tr><tr><td>&nbsp;</td><td>rotateTimes</td><td>Number</td><td>Specifies the number of times the tweened
element rotates between the starting keyframe and the next keyframe
in addition to the normal rotation. Adobe Flash Professional requires
the value to be an integer of 0 or greater value, but the motion
classes allow decimal values.</td></tr><tr><td>&nbsp;</td><td>tweenScale</td><td>Boolean</td><td>If false, prevents the scale from changing
during a tween. Defaults to true if omitted from the XML. </td></tr><tr><td>&nbsp;</td><td>cacheAsBitmap</td><td>Boolean</td><td>Defaults to false if omitted from the XML.</td></tr><tr><td>&nbsp;</td><td>blendMode</td><td>String</td><td>Possible values are "normal", "layer", "multiply",
"screen", "overlay", "hardlight", "lighten", "darken", "difference", "add",
"subtract", "invert", "alpha", and "erase". Defaults to "normal"
if omitted from the XML.</td></tr><tr><td>&nbsp;</td><td>orientToPath</td><td>Boolean</td><td>Defaults to false if omitted from the XML.</td></tr><tr><td>Color</td><td>&nbsp;</td><td>&nbsp;</td><td>Contains settings for color variations.
Flash symbol instances have five color modes: none, alpha, tint,
brightness and advanced. For no transformation (none), the
Color tag is empty, indicating the normal appearance. For alpha
transformations, set the alphaMultiplier and alphaOffset attributes. For
tint transformations, set the tintColor and tintMultiplier attributes.For
brightness transformations, use the brightness attribute.For
advanced transformations, use the redMultiplier, greenMultiplier,
blueMultiplier, alphaMultiplier, redOffset, greenOffset, blueOffset,
and alphaOffset attributes.</td></tr><tr><td>&nbsp;</td><td>brightness</td><td>Number</td><td>The percentage to apply the brightness channel
between -1 and 1, where -1 is completely black and 1 is completely white.</td></tr><tr><td>&nbsp;</td><td>tintColor</td><td>Hexidecimal</td><td>A hexidecimal color value representing the
color to apply.</td></tr><tr><td>&nbsp;</td><td>alphaMultiplier</td><td>Number</td><td>The percentage to apply the alpha channel,
as a decimal value between 0 and 1.</td></tr><tr><td>&nbsp;</td><td>redMultiplier</td><td>Number</td><td>The percentage to apply the color, as a
decimal value between 0 and 1.</td></tr><tr><td>&nbsp;</td><td>greenMultiplier</td><td>Number</td><td>The percentage to apply the color, as a
decimal value between 0 and 1.</td></tr><tr><td>&nbsp;</td><td>blueMultiplier</td><td>Number</td><td>The percentage to apply the color, as a
decimal value between 0 and 1.</td></tr><tr><td>&nbsp;</td><td>alphaMultiplier</td><td>Number</td><td>A decimal value between 0 and 1 representing
a percentage to apply the alpha transparency channel.</td></tr><tr><td>&nbsp;</td><td>tintMultiplier</td><td>Number</td><td>A decimal value between 0 and 1 representing
a percentage to apply with the tintColor value.</td></tr><tr><td>&nbsp;</td><td>redOffset</td><td>Number</td><td>A number from -255 to 255 that is added
to the red channel value after it has been multiplied by the redMultiplier value. </td></tr><tr><td>&nbsp;</td><td>greenOffset</td><td>Number</td><td>A number from -255 to 255 that is added
to the green channel value after it has been multiplied by the greenMultiplier
value. </td></tr><tr><td>&nbsp;</td><td>blueOffset</td><td>Number</td><td>A number from -255 to 255 that is added
to the blue channel value after it has been multiplied by the blueMultiplier
value. </td></tr><tr><td>&nbsp;</td><td>alphaOffset</td><td>Number</td><td>A number from -255 to 255 that is added
to the alpha channel value after it has been multiplied by the alphaMultiplier
value.</td></tr><tr><td>tweens</td><td>&nbsp;</td><td>&nbsp;</td><td>Contains settings for easing variations.</td></tr><tr><td>SimpleEase</td><td>&nbsp;</td><td>&nbsp;</td><td>Defines an easing setting with a single
value throughout the motion tween for all easing properties.</td></tr><tr><td>&nbsp;</td><td>ease</td><td>Number</td><td>The easing value to apply to all properties
of the motion tween. The ease attribute is a percentage value between -1
(100% ease in or acceleration) and 1 (100% ease out or deceleration).
The default value is 0, which means that the tween animates at a
constant speed, without acceleration or deceleration.</td></tr><tr><td>&nbsp;</td><td>target</td><td>Number</td><td>When using Adobe Flash Professional's Copy
Motion and Paste Motion commands, the authoring tool generates XML
that does not include a target attribute for the SimpleEase element
because Flash Professional applies the same value to all ease properties.
However, the ActionScript 3.0 classes allow you to apply different
SimpleEase values to individual properties at the same time. The
possible values for target are the same as for CustomEase: "position",
"scale", "rotation", "color", "filters", "x", "y", "scaleX", "scaleY",
"skewX", and "skewY".</td></tr><tr><td>CustomEase</td><td>&nbsp;</td><td>&nbsp;</td><td>Defines a custom easing curve composed of
cubic Bezier curves. It can be applied to all properties at once,
or you can define different curves for different properties. For
more information about the curves that represent custom ease properties,
see the <a href="fl/motion/CustomEase.html">CustomEase</a> class.</td></tr><tr><td>&nbsp;</td><td>target</td><td>Number</td><td>The property that is assigned a custom value.
When using Adobe Flash Professional's Copy Motion and Paste Motion
commands, the authoring tool generates these possible values for
target: "position", "scale", "rotation", "color", "filters". The
ActionScript 3.0 motion classes allow even more flexibility, you
can define individual curves for: "x", "y", "scaleX", "scaleY",
"skewX", and "skewY". If the "target" attribute is omitted from
the XML, all ease properties are targeted together. Note:The
XML omits the first and last points on the custom easing curve.
The first point must always be (0, 0) (the starting value of the
tweened property), and the last point must be (1, 1) (the ending
value of the tweened property). To keep the code efficient, and
to avoid possible errors these values are omitted from the XML and assumed
to be implicit.</td></tr><tr><td>BezierControl</td><td>&nbsp;</td><td>&nbsp;</td><td>A point relative to a curve that is used
to define the curve.</td></tr><tr><td>&nbsp;</td><td>x</td><td>Number</td><td>The x-coordinate of the point for defining
a curve.</td></tr><tr><td>&nbsp;</td><td>y</td><td>Number</td><td>The y-coordinate of the point for defining
a curve.</td></tr><tr><td>BezierNode</td><td>&nbsp;</td><td>&nbsp;</td><td>A point on a curve that is used to define
the curve.</td></tr><tr><td>&nbsp;</td><td>x</td><td>Number</td><td>The x-coordinate of the point on a curve.</td></tr><tr><td>&nbsp;</td><td>y</td><td>Number</td><td>The y-coordinate of the point on a curve.</td></tr><tr><td>filters</td><td>&nbsp;</td><td>&nbsp;</td><td>Defines an object from the flash.filters
package to use as an element (for example: filters:GlowFilter).
You can add attributes that correspond to the properties of the
specified flash.filters object. For example: &lt;filters:DropShadowFilter
quality="1" inner="false" knockout="false" hideObject="false" distance="0" angle="45"
color="0x000000" alpha="1" blurX="0" blurY="0" strength="0" /&gt;. See
the <a href="flash/filters/package-detail.html">flash.filters</a> package.</td></tr></tbody></table><p>The following example shows the ActionScript with inline XML
describing the motion tween of a moveShape movie clip instance for
the symbol myShape as it rotates, moves, uses a custom ease setting
and changes alpha values over ten frames:</p><pre>import fl.motion.Animator; 
var moveShape_xml:XML = &lt;Motion duration="10" xmlns="fl.motion.*" xmlns:geom="flash.geom.*" xmlns:filters="flash.filters.*"&gt; 
    &lt;source&gt; 
        &lt;Source frameRate="12" x="41.35" y="91.35" scaleX="1" scaleY="1" rotation="0" elementType="movie clip" instanceName="moveShape" symbolName="myShape"&gt; 
            &lt;dimensions&gt; 
                &lt;geom:Rectangle left="-46.65" top="-61.95" width="133.05" height="133.95"/&gt; 
            &lt;/dimensions&gt; 
            &lt;transformationPoint&gt; 
                &lt;geom:Point x="0.49981210071401727" y="0.4998133631952222"/&gt; 
            &lt;/transformationPoint&gt; 
        &lt;/Source&gt; 
    &lt;/source&gt; 
   &lt;Keyframe index="0" rotateTimes="2"&gt; 
        &lt;tweens&gt; 
            &lt;CustomEase&gt; 
                &lt;BezierControl x="0.08650266979261687" y="0.14705453864744866"/&gt; 
                &lt;BezierControl x="0.23675978562091857" y="0.28829454738109694"/&gt; 
                &lt;BezierNode x="0.2689728109485753" y="0.49688733564952436"/&gt; 
                &lt;BezierControl x="0.32093023255813957" y="0.8333333333333333"/&gt; 
                &lt;BezierControl x="0.5988021982960045" y="1.034249160488573"/&gt; 
                &lt;BezierNode x="0.7309082984924317" y="0.8685852488735627"/&gt; 
                &lt;BezierControl x="0.8116279069767443" y="0.767361111111111"/&gt; 
                &lt;BezierControl x="0.910302766164144" y="0.9730908298492431"/&gt; 
            &lt;/CustomEase&gt; 
        &lt;/tweens&gt; 
    &lt;/Keyframe&gt; 
    &lt;Keyframe index="9" x="371.95" y="188"&gt; 
        &lt;color&gt; 
            &lt;Color alphaMultiplier="0.4" alphaOffset="0"/&gt; 
        &lt;/color&gt; 
    &lt;/Keyframe&gt; 
&lt;/Motion&gt;; 
var moveShape_animator:Animator = new Animator(moveShape_xml, moveShape); 
moveShape_animator.play();</pre><br><center class="copyright"> &copy; 2011 Adobe Systems Incorporated. All rights reserved. <br/>Sun Sep 4 2011, 08:10 PM -07:00  </center></div>
				<div class="contentfooter"><div class="separator">&nbsp;</div><p id="creativecommons" class="creativecommons"><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" target="external"><span class="sprite CC">&nbsp;</span></a></p><a class="legal" target="external" href="">Legal Notices</a>&nbsp;|&nbsp;<a class="privacy" href="http://www.adobe.com/misc/privacy.html" target="external">Online Privacy Policy</a></div>
			</div>
		</div>
		<div class="footer">
		</div>
	</body>
</html><!-- &copy; 2011 Adobe Systems Incorporated. All rights reserved. <br/>Sun Sep 4 2011, 08:10 PM -07:00  -->
